#pragma once
#include "StoneGame.h"

enum C2SMsgID
{
	C2S_Login = 100,
	C2S_HandOut,
};

enum C2CMsgID
{
	S2C_Login = 200,
	S2C_HandOut,
	S2C_Result,
};

struct Login
{
	char szName[32];
	char szPsw[32];
};

struct HandOut
{
	HandType eType;
};

struct LoginResult
{
	BOOL bSuccess;
	char szError[32];
};

struct HandOutResult
{
	BOOL bSuccess;
	char szError[32];
};

struct GameResult
{
	struct HandOutInfo
	{
		char szName[32];
		HandType eType;
	};

	int iNum;
	HandOutInfo akInfo[4];
};